#ifndef SQLDATABASEDIALOG_H
#define SQLDATABASEDIALOG_H

#include <QDialog>
#include "ui_sqldatabasedialog.h"

class SqlDatabaseDialog : public QDialog, private Ui::databaseDialog
{
	Q_OBJECT

public:
	SqlDatabaseDialog(QWidget* parent = 0, Qt::WFlags fl = 0);
	~SqlDatabaseDialog();

protected slots:
	virtual void	accept();
	void on_openButton_clicked();
	void on_drivers_currentIndexChanged(int index);
	void on_pbSave_clicked();
	void on_cbConnections_activated(QString text);
private:
	QMap<QString, QVariant> m_connList;
};

#endif

